<template>

    <div>
        <el-tabs v-model="activeName" type="card">
            <el-tab-pane label="部门管理" name="depmana"><DepMana></DepMana></el-tab-pane>
            <el-tab-pane label="职位管理" name="posmana"><PosMana></PosMana></el-tab-pane>
            <el-tab-pane label="职称管理" name="joblevelmana"><JobLevelMana></JobLevelMana></el-tab-pane>
            <el-tab-pane label="奖惩规则 " name="ecmana"><EcMana></EcMana></el-tab-pane>
            <el-tab-pane label="权限组 " name="permissmana"><PermissMana></PermissMana></el-tab-pane>
        </el-tabs>
    </div>
</template>

<script>
    import DepMana from "../../components/sys/basic/DepMana";
    import EcMana from "../../components/sys/basic/EcMana";
    import JobLevelMana from "../../components/sys/basic/JobLevelMana";
    import PermissMana from "../../components/sys/basic/PermissMana";
    import PosMana from "../../components/sys/basic/PosMana";
    export default {
        name: "SysBasic",
        data () {
            return {
                activeName:'depmana'
            }
        },
        components: {//引入的组件需要注册才能使用。格式是：key:value   'DepMana':DepMana,如果一样就使用下面格式。在引用处使用key
            DepMana,
            EcMana,
            JobLevelMana,
            PermissMana,
            PosMana
        }
    }
</script>

<style scoped>

</style>
